package com.ruoyi.order.mapper;

import java.util.List;
import com.ruoyi.order.domain.MallOrderReturnReason;

/**
 * 退货原因Mapper接口
 * 
 * @author cws
 * @date 2024-11-30
 */
public interface MallOrderReturnReasonMapper 
{
    /**
     * 查询退货原因
     * 
     * @param id 退货原因主键
     * @return 退货原因
     */
    public MallOrderReturnReason selectMallOrderReturnReasonById(Long id);

    /**
     * 查询退货原因列表
     * 
     * @param mallOrderReturnReason 退货原因
     * @return 退货原因集合
     */
    public List<MallOrderReturnReason> selectMallOrderReturnReasonList(MallOrderReturnReason mallOrderReturnReason);

    /**
     * 新增退货原因
     * 
     * @param mallOrderReturnReason 退货原因
     * @return 结果
     */
    public int insertMallOrderReturnReason(MallOrderReturnReason mallOrderReturnReason);

    /**
     * 修改退货原因
     * 
     * @param mallOrderReturnReason 退货原因
     * @return 结果
     */
    public int updateMallOrderReturnReason(MallOrderReturnReason mallOrderReturnReason);

    /**
     * 删除退货原因
     * 
     * @param id 退货原因主键
     * @return 结果
     */
    public int deleteMallOrderReturnReasonById(Long id);

    /**
     * 批量删除退货原因
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallOrderReturnReasonByIds(Long[] ids);
}
